package com.alibaba.easyexcel.test.mytest;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 工序导入 Excel 模板
 */
@Data
@ColumnWidth(25)
@HeadRowHeight(20)
@ContentRowHeight(18)
public class WosProcessNodeImportExcelVO implements Serializable {

    private static final long serialVersionUID=1L;

    @ExcelProperty(value = "工序名称*")
    private String processName;

    @ExcelProperty(value = "不良品项")
    private String defectiveItem;

    /** 计价方式: 1-按件计价, 2-按时计价 */
    @ExcelProperty(value = "计价方式")
    private String valuation;

    @ExcelProperty(value = "标准单价")
    private BigDecimal price;

    @ExcelProperty(value = "报工人")
    private String reportUser;

    @ExcelProperty(value = "数量配比")
    private BigDecimal quantityRatio;

    @ExcelProperty(value = "工序描述")
    private String processDesc;

    @ExcelProperty(value = "时间")
    private LocalDateTime dateTime;
}
